package www.openteam.com.contract.business;

import android.graphics.Bitmap;

import java.io.File;

import www.openteam.com.bean.DlryNtPrimaryTable;
import www.openteam.com.bean.DlryNtSublist;
import www.openteam.com.bean.InsertStatus;
import www.openteam.com.bean.ShowSignature;

/**
 * Created by Administrator on 2019-07-30.
 */

public class DlryNoteContract {
    public interface DlryNoteView {

        void getPrimaryData(DlryNtPrimaryTable dlryNtPrimaryTable);

        void getPrimaryDataFail(String msg);

        void getSublistData(DlryNtSublist dlryNtSublist);

        void getSublistFail(String msg);

        void postPicSuccess(InsertStatus insertStatus);

        void postPicFail(String Msg);

        void cancleRcpSuccess(InsertStatus insertStatus);

        void cancleRcpFail(String Msg);

        void showSignature(ShowSignature showSignature);

        void showgetSignatureFail(String msg);
    }

    public interface DlryNotePrst {

        void getPrimaryData(String code);

        void getSublistData(String code);

        void postPicture(File file,String zbid,String returnMan,String returnDate,String returnStatus );

        void cancleRecipe(String zbid);

        void showSignature(String zbid);
    }
}
